package org.jsystem;




import org.junit.Assert;
import org.junit.Test;
import org.jsystem.CreatePushSo;

import jsystem.framework.ParameterProperties;
import jsystem.framework.TestProperties;
import junit.framework.SystemTestCase4;
 
import org.junit.Before;
import org.junit.Test;
 
public class PullInStreamCreationAPITest extends SystemTestCase4 {
 
    private CreatePullSo createPull;
 
    public PullInStreamCreationAPITest()
    {
    	
    }
    
    @Before
    public void setUp() throws Exception 
    {
    	createPull = (CreatePullSo) system.getSystemObject("createPullSo");
    }
 
    /**
     * Verify that a Pull stream was successfully created by using the Zixi broadcaster API: 2.2 Add input URL http://<broadcaster_host>:<broadcaster_port>/zixi/add_stream.json
     */
    @Test
    @TestProperties(name = "Verify that a Pull stream was successfully created")
    public void createPullStream()
    {
    	createPull.verifyIfPullCreated();
    }
 
}